﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Vampirewal.Core.SimpleMVVM;
using Vampirewal.Core.WPF.Theme;
//using Vampirewal.Core.VContainer;
//using Vampirewal.Core.WpfTheme.UcView;

namespace test.View2
{
    /// <summary>
    /// aaView.xaml 的交互逻辑
    /// </summary>
    //[VampirewalIoCRegister("aaView", RegisterType.View)]
    public partial class aaView : AddOrEditUcViewBase
    {
        public aaView()
        {
            InitializeComponent();

            //DataContext = VIoC.GetInstance().GetInstance("aaViewModel");
        }

        //[VampirewalIoCGetInstance("aaViewModel")]
        public override ViewModelBase DataSource
        {
            get
            {
                return base.DataSource;
            }
            set
            {
                base.DataSource = value;
                //DataContext = value;
            }
        }
    }
}
